Mule : Moving a File with the File Transport
This page last changed on Nov 16, 2005 by rossmason.
Moving a file from one directory to another can be done by setting the moveToDirectory property of the FileConnector. However, sometimes you might want to read a file, process it and write it to another directory. This is very similar to the example above but it has be requested a few times on the list so here is a sample configuration. Note that only the outboundEndpoint needs to be replaced. <mule-descriptor name="fileReceiverUMO" inboundEndpoint="file:///temp/myfiles/in" outboundEndpoint="file:///temp/myfiles/out" implementation="com.foo.TestFileComponent"> </mule-descriptor> For more information and configuration options see File Provider. |
Document generated by Confluence on Nov 27, 2006 10:27 |